<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        body{
            font-size: 200px;
        }
    </style>
    <script>
        var a = Math.random();
        a = Math.floor(a * 6)+1;
        //document.write(a);
        document.write("<img src=\"images/"+a+".png\" />");
    </script>
</head>
<body>
</body>
</html>